from django.conf.urls import url, include
from django.contrib import admin
from . import views

urlpatterns = [
    url(r'^imagecodes/(?P<image_code_id>.+)/',views.RegisterImage.as_view(),name='imagecode'),
    url(r'^smscodes/(?P<mobile>1[345789]\d{9})/',views.RegisterSMScode.as_view(),name='smscodes')
]